package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 街道实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Street")
public class Street extends BaseModel {
    @PrimaryKey
    @Field("StreetCode")
    private String streetCode;
    @Field("StreetName")
    private String streetName;
    @Field("Sort")
    private Integer sort;
}
